<template>
    <router-view />
</template>
<script lang="ts" setup>
// import { onMounted, onUnmounted, provide } from "vue";
// // 注入svg图标前缀
// provide("iconPrefix", "i");

import { onMounted } from "vue";
import { useSignalrStore } from "@/store/modules/signalR";
const siganlR = useSignalrStore();

onMounted(() => {
    siganlR.signalRInit(); // 初始化signalR连接
});

</script>